package com.jframe.sys.webui;

public class Editor {

	private String type="text";
	private String valueField="id";
	private String textField="text";
	private boolean required=false;

		
	public Editor(){
		
	}
	
	public Editor(String type){
		this.type=type;
	}
	
	public Editor(String type,boolean required){
		this.type=type;
		this.required=required;
	}
	
	public Editor(String type,String valueField,String textField,boolean required){
		this.type=type;
		//this.data=data;
		this.required=required;
	}
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	/*public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}*/
	public String getValueField() {
		return valueField;
	}
	public void setValueField(String valueField) {
		this.valueField = valueField;
	}
	public String getTextField() {
		return textField;
	}
	public void setTextField(String textField) {
		this.textField = textField;
	}
	public boolean isRequired() {
		return required;
	}
	public void setRequired(boolean required) {
		this.required = required;
	}
	
}
